var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(h){var d=0;return function(){return df;f++){var d=void 0;d="desktop"===l.getCurrentDevice()?"feature-column-carousel__column--desktop-columns-"+f:"feature-column-carousel__column--mobile-columns-"+f;for(var e=1;e=c.left&&f.left+10<=c.right||f.right-10>=c.left&&f.right-10<=c.right)&&b.push(a)});return b};e.prototype.resizeActive=function(){var a=this;p.setLazyLoad();this.setDefault();"desktop"===l.getCurrentDevice()?!1===this.desktopFlag&&(this.desktopFlag=!0,this.mobileFlag=!1,this.setSlideGroup()): !1===this.mobileFlag&&(this.mobileFlag=!0,this.desktopFlag=!1,this.setSlideGroup());this.el.component.target.forEach(function(b){var c=d(b);if(c.hasClass(a.selector.devideCls))a.devideColumn(c),c.find(".image__main").target.forEach(function(b){d(b).on("load",function(){a.devideColumn(c)})});else{var f=c.find(".feature-column-carousel__carousel");if(f.hasClass("desktop-next-slide-to-show"))a.el.featureSwiper=g.getSwiper(f.target[0]),f.find(a.selector.itemImgArea+" .image__main").target.forEach(function(b){var c= d(b);if(c.hasClass("image--loaded"))a.setImgHeight(c.closest(a.selector.itemImgArea));else c.on("load",function(){a.setImgHeight(c.closest(a.selector.itemImgArea))})});else{f=f.find(a.selector.itemImgArea+" .image__main");var e=b;"desktop"===l.getCurrentDevice()?(a.setHeight(e),f.on("load",function(){a.setHeight(e)})):(e=c.find(".feature-column-carousel__item"),e.target.forEach(function(b){a.setHeight(b)}),f.target.forEach(function(b){var c=d(b);c.on("load",function(){a.setHeight(c.closest(a.selector.itemList).target[0])})}))}}})}; e.prototype.resize=function(){var a=this;if(0b.attr("data-mobile-per-page")?"desktop":"mobile",f="mobile"===c?"desktop":"mobile";!1===a.startFlag?(b.attr("data-desktop-per-page")||b.attr("data-mobile-per-page")?(a.viewMoreItem(b), b.hasClass("use-mobile-carousel")||l.getCurrentDevice()!==f||(a.resizeFlag=!0)):setTimeout(function(){a.resizeActive()},100),a.startFlag=!0):(!1!==a.moreFlag||!b.attr("data-desktop-per-page")&&!b.attr("data-mobile-per-page")||b.hasClass("use-mobile-carousel")||l.getCurrentDevice()!==c||!0!==a.resizeFlag||(a.el.itemList.removeClass("is-item-active"),a.el.itemList.removeClass("is-item-visible"),a.viewMoreItem(b),a.resizeFlag=!1),setTimeout(function(){a.resizeActive()},100))});setTimeout(function(){a.checkInViewport()}, 110)};e.prototype.getSwiperHeadlines=function(a){var b=[];d(a).find(".swiper-slide:not(.swiper-slide-duplicate)").target.forEach(function(a){var c=a.getAttribute("data-type-headline");c||(c=a.dataset.tagging?JSON.parse(a.dataset.tagging)["an-tr"]:a.getAttribute("an-tr"));b.push(c)});return b};e.prototype.setSwiperBulletAlly=function(a){var b=g.getSwiper(a);b&&"desktop"===l.getCurrentDevice()&&!b.params.loop&&b.params.slidesPerView===b.params.slidesPerGroup&&(b=this.getSwiperHeadlines(a),this.setInnerHTMLBullets(a, b))};e.prototype.setInnerHTMLBullets=function(a,b){var c=g.getSwiper(a);a=d(a).find(".swiper-pagination-bullet").target;var f=c.params.slidesPerView,e=a.length;c=b.length%f;var h=f-c,k=0;0!==c&&a.forEach(function(a,c){var g="";c+1===e&&(k-=h);for(c=k;cf.target.length||"none"===f.css("display")||(b.el.indicator.find("button[aria-controls]").target.forEach(function(a){a.removeAttribute("aria-controls")}),b.el.indicator.find(".indicator__item--active").attr("aria-controls", d),c.setAttribute("role","tabpanel"),a.swiper.off("transitionEnd",b.handler.transitionEnd).on("transitionEnd",b.handler.transitionEnd))})},100)},50))};e.prototype.checkInViewport=function(){var a=this.el.component.find(".swiper-container").target[0],b=g.getSwiper(a);this.setCarouselPreviewImage();this.setCarouselImageLazyLoad();b&&b.params.autoplay.enabled&&(!t(this.el.component.target[0])&&b.autoplay.running?g.slideStop(a):t(this.el.component.target[0])&&!b.autoplay.running&&g.slideStart(a))};e.prototype.bindEvents= function(){var a=this;this.el.window.off("resize",this.handler.resize).on("resize",this.handler.resize);this.el.window.off("scroll",this.handler.checkInViewport).on("scroll",this.handler.checkInViewport);this.el.slideBackBtn.target.forEach(function(b){d(b).off("click").on("click",function(){a.backSlide(b)})});this.el.videoPlayBtn.target.forEach(function(b){var c=d(b);c.off("click").on("click",function(){a.activeEmbed(c)})});this.el.videoCloseBtn.target.forEach(function(b){var c=d(b);c.off("click").on("click", function(){a.unactiveEmbed(c)});c.off("keydown").on("keydown",function(b){var d=c.closest(a.selector.videoWrap);b.keyCode===r.TAB&&!1===b.shiftKey&&d.attr("tabindex","0").focus();b.keyCode===r.ENTER&&a.unactiveEmbed(c);b.preventDefault()})});this.el.videoWrap.target.forEach(function(b){var c=d(b);c.off("keydown").on("keydown",function(b){var d=c.find(a.selector.videoCloseBtn);b.keyCode===r.TAB&&!0===b.shiftKey&&(d.attr("tabindex","0").focus(),b.preventDefault())})});this.el.viewMoreBtn.target.forEach(function(b){var c= d(b);c.off("click").on("click",function(){a.viewMoreItem(c.closest(a.selector.componentInner),"focus");a.moreFlag=!0})});this.el.ctaButton.target.forEach(function(b){d(b).off("click",a.handler.clickCtaButton).on("click",a.handler.clickCtaButton)})};var v=function(){d(window);d(m.component);d(m.component).target.forEach(function(a){e.instances.has(a)||new e(a)})},w=function(a){d(a).find(".basic-swiper").target.forEach(function(a){void 0===a.swiper?g.slideInit(a):g.slideReInit(a)});e.instances.has(a)? e.instances.get(a).reInit():new e(a)};e.instances=new WeakMap;d.ready(v);window.sg.components.featureColumnCarousel={init:v,reInit:function(a){a?h(a)&&w(a):(h(document),d(m.component).target.forEach(function(a){w(a)}))}}})();